package com.edu.dao;

import com.edu.data.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int insert(User record);

    int insertSelective(User record);

    List<User> findByIdAll();

    User findById(String id);

    void delete(String userId);

    void update(@Param("user") User user, @Param("userId") String userId);
}